alert("123456");

function like(btn, entityId){
    alert("123456");
    $.post(
      "/like",
    {"entityType":1,"entityId":entityId},
        function(data){
          data = $.parseJSON(data);
          if(data.code == 0){
            $(btn).children("i").text(data.likeCount);
            $(btn).children("b").text(data.likeStatus == 1 ? "已赞" : "赞");
          }else {
              alert(data.msg);
          }
        }
    );
}